include(FetchContent)

set(GIT_REPOSITORY_URL "https://gitee.com/coolgpu/googletest.git")

FetchContent_Declare(
  googletest
  GIT_REPOSITORY "${GIT_REPOSITORY_URL}"
  GIT_TAG 06f44bc951046150f1348598854b211afdcf37fc
)

message(STATUS "Downloading googletest from: ${GIT_REPOSITORY_URL}")
FetchContent_MakeAvailable(googletest)

